package com.bing.jh.mapper;

import com.bing.jh.entity.HivestatOverViewEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

public interface HivestatDao {


    List<HivestatOverViewEntity> getBaseCountList(@Param("externalSystem") String externalSystem, @Param("dataModelList") List<String> dataModelList, @Param("dataTime") String dataTime, @Param("province") String province,@Param("containsDemolitionDetail") Boolean containsDemolitionDetail);

    List<HivestatOverViewEntity> getSummaryCountList(@Param("externalSystem") String externalSystem, @Param("dataModelList") List<String> dataModelList, @Param("dataTime") String dataTime, @Param("endTime") String endTime, @Param("province") String province,@Param("containsDemolitionDetail") Boolean containsDemolitionDetail);


    List<HivestatOverViewEntity> getNationalCount(@Param("externalSystem") String externalSystem, @Param("dataModelList") List<String> dataModelList, @Param("dataTime") String dataTime);

    List<HivestatOverViewEntity> getSummaryNationalCount(@Param("externalSystem") String externalSystem, @Param("dataModelList") List<String> dataModelList, @Param("dataTime") String dataTime, @Param("endTime") String endTime);

    List<String> getAllProvinces();

    List<HivestatOverViewEntity> getZdBaseCountList(@Param("externalSystem")String externalSystem,@Param("dataModelList") List<String> asList,@Param("dataTime") String dataTime,@Param("province") String province);

}

